Skip to content

expose prefer_datetime in cfvariable #40

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

felixcremer
Copy link
Member

This exposes the prefer_datetime variable as a keyword argument in cfvariable and _get_rettype.

This will allow to open datasets that have Date or time information which is not convertible to DateTime objects.
One example is the usage of nanoseconds.

This is non breaking because the default value of prefer_datetime is true.

This closes #39 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot index variable of Zarr file with nanosecond time information
2 participants